<!-- Documentation produced by the Html generator of Bouml (http://bouml.free.fr) -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg">

<head>
<title>Class Engine</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>

<body bgcolor="#ffffff">

<div class = "title">Class Engine</div>
<p></p>

<!-- ============================================================= -->

<a name="refclass129356"></a>
<p>@author joseph <br /></p><p>Declaration :</p><ul><li>Java : public class Engine extends <a href="class129484.html#refclass129484"><b>SingleFrameApplication</b></a> </li></ul><p>Artifact : <a href="index.html#refartifact128588"><b>Engine</b></a></p><div class="sub">
<a name="refattribute130252"></a>
<table><tr><td><div class="element">Attribute <b>args</b></div></td></tr></table>
<p>Declaration :</p><ul><li>Uml : - args : String, multiplicity : []</li><li>Java : private String[] args</li></ul><a name="refrelation129484"></a>
<table><tr><td><div class="element">Relation <b>gameSettings (&lt;unidirectional association&gt;)</b></div></td></tr></table><p>Declaration :</p><ul><li>Uml : - gameSettings : <a href="class129612.html#refclass129612"><b>Settings</b></a></li><li>Java : private <a href="class129612.html#refclass129612"><b>Settings</b></a> gameSettings</li></ul><a name="refrelation129612"></a>
<table><tr><td><div class="element">Relation <b>players (&lt;unidirectional association&gt;)</b></div></td></tr></table><p>Game session initialization <br /></p><p>Declaration :</p><ul><li>Uml : - players : <a href="class128588.html#refclass128588"><b>Player</b></a>, multiplicity : []</li><li>Java : private <a href="class128588.html#refclass128588"><b>Player</b></a>[] players</li></ul><a name="refoperation131148"></a>
<table><tr><td><div class="element">Operation <b>initialize</b></div></td></tr></table><p>Experimental code: Complete me We create a gamesList that will be used by the Controller-View Interface.<br /></p><p>Declaration :</p><ul><li>Uml : # initialize(in _args : String) : void</li><li>Java : protected void initialize(String[] _args)</li></ul><p> Java annotation(s) :<ul>@Override<br /></ul><a name="refoperation131276"></a>
<table><tr><td><div class="element">Operation <b>startup</b></div></td></tr></table><p>Declaration :</p><ul><li>Uml : # startup() : void</li><li>Java : protected void startup()</li></ul><p> Java annotation(s) :<ul>@Override<br /></ul><a name="refoperation131404"></a>
<table><tr><td><div class="element">Operation <b>getArgs</b></div></td></tr></table><p>@return the args<br /></p><p>Declaration :</p><ul><li>Uml : + getArgs() : String</li><li>Java : public String[] getArgs()</li></ul><a name="refoperation131532"></a>
<table><tr><td><div class="element">Operation <b>initGame</b></div></td></tr></table><p>Declaration :</p><ul><li>Uml : - initGame() : void</li><li>Java : private void initGame()</li></ul><a name="refoperation131660"></a>
<table><tr><td><div class="element">Operation <b>getGameName</b></div></td></tr></table><p>Declaration :</p><ul><li>Uml : + getGameName() : String</li><li>Java : public String getGameName()</li></ul><a name="refoperation131788"></a>
<table><tr><td><div class="element">Operation <b>getNbPlayers</b></div></td></tr></table><p>Declaration :</p><ul><li>Uml : + getNbPlayers() : int</li><li>Java : public int getNbPlayers()</li></ul><a name="refoperation131916"></a>
<table><tr><td><div class="element">Operation <b>setPlayers</b></div></td></tr></table><p>@param players the players to set<br /></p><p>Declaration :</p><ul><li>Uml : + setPlayers(inout players : <a href="class128588.html#refclass128588"><b>Player</b></a>) : void</li><li>Java : public void setPlayers(<a href="class128588.html#refclass128588"><b>Player</b></a>[] players)</li></ul><a name="refoperation132044"></a>
<table><tr><td><div class="element">Operation <b>getPlayers</b></div></td></tr></table><p>@return the players<br /></p><p>Declaration :</p><ul><li>Uml : + getPlayers() : <a href="class128588.html#refclass128588"><b>Player</b></a></li><li>Java : public <a href="class128588.html#refclass128588"><b>Player</b></a>[] getPlayers()</li></ul><a name="refoperation132172"></a>
<table><tr><td><div class="element">Operation <b>getCurrentPlayer</b></div></td></tr></table><p>Declaration :</p><ul><li>Uml : + getCurrentPlayer() : <a href="class128588.html#refclass128588"><b>Player</b></a></li><li>Java : public <a href="class128588.html#refclass128588"><b>Player</b></a> getCurrentPlayer()</li></ul><a name="refoperation132300"></a>
<table><tr><td><div class="element">Operation <b>setGameSettings</b></div></td></tr></table><p>@param gameSettings the gameSettings to set<br /></p><p>Declaration :</p><ul><li>Uml : + setGameSettings(inout gameSettings : <a href="class129612.html#refclass129612"><b>Settings</b></a>) : void</li><li>Java : public void setGameSettings(<a href="class129612.html#refclass129612"><b>Settings</b></a> gameSettings)</li></ul><a name="refoperation132428"></a>
<table><tr><td><div class="element">Operation <b>getGameSettings</b></div></td></tr></table><p>@return the gameSettings<br /></p><p>Declaration :</p><ul><li>Uml : + getGameSettings() : <a href="class129612.html#refclass129612"><b>Settings</b></a></li><li>Java : public <a href="class129612.html#refclass129612"><b>Settings</b></a> getGameSettings()</li></ul><a name="refoperation132556"></a>
<table><tr><td><div class="element">Operation <b>getApplication</b></div></td></tr></table><p>A Convenient static getter for the application instance. @return the instance of Engine<br /></p><p>Declaration :</p><ul><li>Uml : static, + getApplication() : <a href="class129356.html#refclass129356"><b>Engine</b></a></li><li>Java : public static <a href="class129356.html#refclass129356"><b>Engine</b></a> getApplication()</li></ul></div>
<p>All public operations : <a href="class129356.html#refoperation132556"><b>getApplication</b></a> , <a href="class129356.html#refoperation131404"><b>getArgs</b></a> , <a href="class129356.html#refoperation132172"><b>getCurrentPlayer</b></a> , <a href="class129356.html#refoperation131660"><b>getGameName</b></a> , <a href="class129356.html#refoperation132428"><b>getGameSettings</b></a> , <a href="class129356.html#refoperation131788"><b>getNbPlayers</b></a> , <a href="class129356.html#refoperation132044"><b>getPlayers</b></a> , <a href="class129356.html#refoperation132300"><b>setGameSettings</b></a> , <a href="class129356.html#refoperation131916"><b>setPlayers</b></a> </p>
</body>
</html>
